package com.eshidai.simple_springboot.service;

import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import com.eshidai.simple_springboot.bean.User;

public interface HelloService {
	
	public User getUser();
	
	@Transactional(propagation = Propagation.SUPPORTS)
	public void addUser() throws Exception;
}
